<template>
	<view class="no-data" id='no-data'>
		<view class="no-icon">
			<image src='https://wanchuyun-img.oss-cn-beijing.aliyuncs.com/guomai/1758dab4ef69269666f8c705f58df3492a8fc193.png'></image>
		</view>
		<view class="text">{{text}}</view>
	</view>
</template>

<script>
	export default {
		name:"no-data",
		props:{
			text:{
				type:String,
				default:'您的购物车为空哦'
			}
		},
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss" scoped>
	.no-data{
		margin-top:100rpx;
	}
	.no-icon{
		width:250rpx;
		height:250rpx;
		margin:auto;
		image{
			width:100%;
			height: 100%;
		}
	}
	.text{
		color: #999999;
		line-height: 40rpx;
		padding-top:46rpx;
		text-align:center;
	}
	

</style>